text: Don't compute invisible char in init
authorMatthias Clasen <mclasen@redhat.com>
Thu, 23 Jan 2020 20:12:38 +0000 (15:12 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 23 Jan 2020 20:12:38 +0000 (15:12 -0500)
commitf9e613f8fda4cf835e7273e1bb4edbcce1776b26
tree12bb76069b135631d8cdf12878d3631e995de768
parente13692c52f70aa1a16b0ba7d93e3d956b3e46de6
text: Don't compute invisible char in init

This causes us to create a pango layout and
validate the css style, a high-overhead
operation. Just do it when the entry is set
to be invisible.
gtk/gtktext.c